<html>
<head>
<title>上传文件</title>
<meta name='keywords' content=''>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body{
	margin:0px;
	padding:0px;
	font-size:9pt;
	background:#FFF;
	position:relative;
}
input { vertical-align:middle;}
input,select{color:navy;font:normal 12px/120% Tahoma,Verdana,sans-serif; height:19px;}
input,textarea,hr{color:navy;font:normal 12px/120% Verdana,sans-serif;padding:2px;border:1px solid #ddd; height:27px;}
.global_file { width:150px;}
.btn { background-color:#e1e1e1; border-radius:3px; padding:0 12px; border:1px solid #ccc; line-height:18px; font-size:12px; font-weight:bold; color:#404040; cursor:pointer;position:absolute;right:0;top:0;}
.btn:hover { color:#fff; border:1px solid #1b57aa;background-color:#1b57aa;}
.notes{text-align:center;line-height:30px;}
</style>
<SCRIPT LANGUAGE="JavaScript" src="__STATIC__/js/core/jquery.min.js"></SCRIPT>
<SCRIPT LANGUAGE='JavaScript'>
<!--
if('1'=='1'){
	if(''!='')document.domain = '';
}else{
	window.onerror=function (){
		url = '';
		url +=url.indexOf('?')>0?'&':'?';
		window.location.href=url+'showDomain=1';
		return true;
	};
	obj = (self==top) ? window.opener : window.parent ;
	obj.document.body;
}
//-->
</SCRIPT>
</head>
<body>
{notempty name="info"}
上传成功,<A HREF="{:urls('index',['fn'=>$fn,'dir'=>$dir,'par'=>$par,'ISone'=>$_GET[ISone],'oldfile'=>$newfile,'showDomain'=>$showDomain])}">你可以继续或重新上传</A>
<script>
		if(self==top){
			window.opener.{$fn}('{$info.path}','{$par}');
			window.self.close();
		}else{
			window.parent.{$fn}('{$info.path}','{$par}');
		}
 </script>
{else /}
<form name="form1" method="post" action="" enctype="multipart/form-data">
  <input id="postfile" type="file" name="file" class="global_file"  onChange="selectFileImage();"/>
  <input  type="submit" name="Submit" value="上传" class="btn" >
  <input type="hidden" name="action" value="uploadfile">
  <input type="hidden" name="showDomain" value="1">
</form>
<SCRIPT LANGUAGE='JavaScript'>
<!--
function selectFileImage(){
	$('form').submit();
}
//-->
</SCRIPT>
{/notempty}
</body>
</html>
